    <!DOCTYPE html>
    <html>
    <!-- Mirrored from www.zi-han.net/theme/hplus/index_v1.html?v=4.0 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 20 Jan 2016 14:20:20 GMT -->
    <head>
        {include file="Widgets/head" /}
    </head>
    <body class="white-bg">

        <div class="container">
            <div class="row dashboard-header">
                <div class="row" style="padding-top: 5%;">
                    <div class="wrapper wrapper-content">
                       <div class="row">
                           <div class="ibox-title">
                           </div>
                       </div>
                        <div class="row">
                            <div class="col-sm-3">
                                <div class="ibox float-e-margins">
                                    <div class="title">
                                        <span class="label label-success pull-right">今天待还金额</span>
                                        <h5></h5>
                                    </div>
                                    <div class="ibox-content">
                                        <h1 class="no-margins"><?php echo $repay_today; ?></h1>

                                        <small></small>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="ibox float-e-margins">
                                    <div class="title">
                                        <span class="label label-info pull-right">次日待还金额</span>
                                        <h5></h5>
                                    </div>
                                    <div class="ibox-content">
                                        <h1 class="no-margins"><?php echo $repay_tomorrow; ?></h1>
                                        <small></small>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="ibox float-e-margins">
                                    <div class="title">
                                        <span class="label label-primary pull-right">后天待还金额</span>
                                        <h5></h5>
                                    </div>
                                    <div class="ibox-content">
                                        <h1 class="no-margins"><?php echo $repay_tomorrow; ?></h1>

                                        <small></small>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-3">
                                <div class="ibox float-e-margins">
                                    <div class="title">
                                        <span class="label label-danger pull-right">今天代收金额</span>
                                        <h5></h5>
                                    </div>
                                    <div class="ibox-content">
                                        <h1 class="no-margins"><?php echo  $collect_today;?></h1>

                                        <small></small>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="ibox-title">
                            </div>
                        </div>
                        <div class="row" style="padding-top: 5%">
                            <div class="col-sm-4">
                                <div class="panel panel-info">
                                    <div class="panel-heading">
                                        <h3 class="panel-title">待还款资产</h3>
                                    </div>
                                    <div class="panel-body">
                                        <div class="row">
                                            <div class="col-sm-1"></div>
                                            <div class="col-sm-6">今日代还款资产</div>
                                            <div class="col-sm-2"></div>
                                            <div class="col-sm-3"><?php echo $todaycount; ?></div>
                                        </div>
                                        <div class="hr-line-dashed"></div>
                                        <div class="row">
                                            <div class="col-sm-1"></div>
                                            <div class="col-sm-6">次日代还款资产</div>
                                            <div class="col-sm-2"></div>
                                            <div class="col-sm-3"><?php echo $tomorrowcount; ?></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="panel panel-info">
                                    <div class="panel-heading">
                                        <h3 class="panel-title">未募集的资产</h3>
                                    </div>
                                    <div class="panel-body">
                                        <div class="row">
                                            <div class="col-sm-1"></div>
                                            <div class="col-sm-6">待募集资产</div>
                                            <div class="col-sm-2"></div>
                                            <div class="col-sm-3"><?php echo $assets_wait_check ?></div>
                                        </div>
                                        <div class="hr-line-dashed"></div>
                                        <div class="row">
                                            <div class="col-sm-1"></div>
                                            <div class="col-sm-6">待审核资产</div>
                                            <div class="col-sm-2"></div>
                                            <div class="col-sm-3"><?php echo $assets_wait_sales; ?></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="panel panel-info">
                                    <div class="panel-heading">
                                        <h3 class="panel-title">借款需求</h3>
                                    </div>
                                    <div class="panel-body">
                                        <div class="row">
                                            <div class="col-sm-1"></div>
                                            <div class="col-sm-6">今日新增借款需求</div>
                                            <div class="col-sm-2"></div>
                                            <div class="col-sm-3"><?php echo $today_request; ?></div>
                                        </div>
                                        <div class="hr-line-dashed"></div>
                                        <div class="row">
                                            <div class="col-sm-1"></div>
                                            <div class="col-sm-6">审核失败借款需求</div>
                                            <div class="col-sm-2"></div>
                                            <div class="col-sm-3"><?php echo $today_request_failed; ?></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>

        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
            <div class="modal-dialog">
                <form action="{:url('Merchant/recharge')}" method="post">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                        <h4 class="modal-title" id="myModalLabel">充值</h4>
                    </div>
                    <div class="modal-body">
                        <div class="form-group  ">
                            <label class="col-sm-1 control-label"></label>
                            <label class="col-sm-3 control-label text-right">充值金额：</label>
                            <div class="col-sm-6">
                                <div class="row">
                                    <div class="col-md-8">
                                        <input type="text" class="form-control required"   name="money" value=""   onkeyup="(this.v=function(){this.value=this.value.replace(/[^0-9-]+/,'');}).call(this)" onblur="this.v();" placeholder="">
                                        <span class="help-block m-b-none"></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <input  type="submit" class="btn btn-primary">
                    </div>
                </div><!-- /.modal-content -->
                </form>
            </div><!-- /.modal -->
        </div>
    </body>
    </html>
